import org.junit.jupiter.api.Test;
import org.liuyunfeng.MongoServiceApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.mongodb.core.MongoTemplate;

/**
 * @author: TanJingyu
 * @create: 2022-04-01 15:55
 **/
@SpringBootTest(classes = MongoServiceApplication.class)
public class MongoServiceTestApplication {
    @Autowired
    private MongoTemplate mongoTemplate;


    @Test
    public void test() {
        System.out.println(mongoTemplate);
    }
}

    